import myAxios from '../MyAxios'
import urls from '../BaseUrl'

const actorApi={
  // 查询演员列表
  list(params){
    return myAxios.get(urls+'/movie-actors',params)
  },
   seach(params){
    return myAxios.post(urls+"/movie-actors/name",params)
   },
   add(params){
    return myAxios.post(urls+'/movie-actor/add',params)
     
  },
  delete(params){
    return myAxios.post(urls+'/movie-actor/del',params)
  },
  listByName(params){
    return myAxios.get(urls+'/movie-actors/movieid',params)
  }
}
export default actorApi